package com.ruoyi.common.core.domain;

/**
 * @Author
 * @Date
 */
public enum ErrorCodeConstant {
    OK("0", "正常"),
    DISABLE("1", "停用"),
    DELETED("2", "删除"),
    FAILED("1012", "操作失败!");

    private final String code;
    private final String msg;

    ErrorCodeConstant(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
